package com.linzelin.dao;

import com.linzelin.po.Blog;

import java.util.List;
import java.util.Map;

public interface BlogMapper {
    //插入数据
    int addBlog(Blog blog);

    //查询数据
    List<Blog> queryBlogIF(Map<String,Object> map);

    List<Blog> queryBlogChoose(Map<String,Object> map);

    int updateBlog(Map<String,Object> map);

    List<Blog> queryBlogForeach();

    List<Blog> queryBlogForeach(Map map);
}
